<%= render 'public/flash_notice' %>
<div class="page-header">
  <h2><%= @post.title %></h2>
  <blockquote class= "pull-right">
    <small>
      <%= format_datetime(@post.created_at, '%Y-%m-%d %H:%M')%>
    </small>
  </blockquote>
  <p>
    <%= image_tag @post.front_img %>
  </p>
  <p class="lead">
    <%= raw @post.content %>
  </p>
</div>
<%= link_to '返回列表', cpanel_posts_path %>
